I am working on a hand exoskeleton project which requires me to use EMG waves to control the motor. I am using a brushless dc motor controlled by an Epos2 70/10 and using a NI Myrio 1900
Suggestions on how I can improve my Labview program
Can labview Differentiate Between Text And Binary Files?
I found a function to determine the file extension, but this solution is not effective because I have to write all possible extentions so that it can read it.
This is why I want to ask if there is another method to distinguish the binary file and the text file in labview?
Thank you.
Fourier power spectrum calculations
zxdszygftujgjugj
iMeDiAtIaLay@@@@+91-8107216603 KALA JADU Black mAGIC SPECIALIST BABA JI
sdfvdxhfgjghj
USRP TX RX example code
In packet transmitter.vi I m attaching the IPv4 header of 160 bits instead of 32 bits header. And in packet transmitter.vi i changed the start location of data. I received the ERROR: Underflow: the tx buffer was emptied before new data was provided. consider reducing the IQ rate, increasing the Write rate, or increasing the number of samples per write.
Please give me some idea how to remove this. after reducing the IQ rate, or increasing the samples per symbol its not working correctly.
Case structure not working for string
Hello,
i have a case structure where one case is "1".."4".
Then a string input.
When i enter 1, 2 or 3 the case is working. But not for 4.
Why this?
Labview 2015
Thanks
Edit: Correct attachment selected.
Using ethernet TCP/UDP frames with header
Hello everyone,
I didn't manage to find a clear answer to my specific problem.
I need to send an ethernet frame following UDP or TCP protocols. The problem is that I can't access to the frame header if I use TCP / UDP LabVIEW function. I really need to control the frame's header in my application.
I first thought about using VISA functions, but it doesn't seem to work :
A frame is sent (not the expected frame, probably a synchronisation one), then the write function waits 2 seconds (timeout value), and do a -1073807343 error : "VISA: (Hex 0xBFFF0011) Insufficient location information or the device or resource is not present in the system."
Maybe I didn't use it properly.
If not possible, i will probably use an external DLL.
Can you confirm that what I am trying to do is possible with VISA or any other LabVIEW function ?
Do you have other ideas before I try to find an appropriate library ?
Thanks
PID_ Valve control
Hello,
This is my first time using the PID toolkit and I am attempting to regulate the valve by giving volume flow. I want to control the valves so that the program will open and close the valves as needed to reach the desired set point(Volume flow). My main problem valve is taking either 0 or 10 as output(ie; Fully closed or fully open). Any help would be appreciated. I have attached what I have done so far.
Thanks
Agilent 33XXX Drivers
I am trying to control an Agilent 33120A function generator with LabVIEW 2014. I found these drivers: http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=0470714759413BCCE0440003BA7CCD71 .I first tried the 2015 drivers but they weren't compatible with 2014. I am now trying to use the 8.2.1 drivers but keep receiving this error "Error -1073807346 occurred at VISA Write in Agilent 33XXX Series.lvlib:Error Query.vi->Agilent 33XXX Series.lvlib:Configure Standard Waveform.vi->Agilent 33XXX Series Generate Frequency Sweep - SW Triggered.vi" when I try to run an example program.
The function generator is not being accessed by other programs, so I don't think anything is trying to communicate over the comport. Does anyone know how to find a 2014 version of these drivers, or how to make the current drivers I found work with my system?
Multiple Screen/Monitor Application - Best Method
Hello,
I have a two-monitor system where one screen has user controls and the other screen is showing a matlab figure.
The goal: if the VI is on screen '1', the figure will launch on screen '2', and the other way around. Meaning, the figure will launch in the opposite screen to the VI.
The problem: the system has to be generic PC-wise, i.e. different PC systems have different configurations for the extended desktop mode - some have screen '1' labeled as 'primary' while screen '2' is secondary, and their position can change too.
My plan: let LabView get the current screen configuration: where screen '1' is, where screen '2' is and then check if the controlling VI is on screen '1' or screen '2'. This information will let my matlab script launch the figure in the opposite coordinates (left = -1, or 0 or 1 - there are three options).
How can I get screen configuration info with LabView?
Thanks
Error Vision Acquistion
Chào mọi người !
Tôi muốn hỏi:
Tôi đã cài đặt nó một cách chính xác nhưng tại sao không có thư viện Vision Acquistion?
Cảm ơn bạn !
Input buffer and parallel processing
Hi,
I am gathering data from an external board.
The data is structured like so: every iteration inside a 'while' loop I get a matrix of NxM where N is the channel number (1,2,3.. etc) and M are always 60 data samples (in milivolts). This is a matrix of type 'double'.
Currently this matrix is fed into a queue using a while loop.
The queue is read by another while loop where I do a simple FFT and decompose the matrix into N 1xM vectors - each vector is displayed in a chart.
My goal was not to lose data packets and create some sort of an input buffer.
This does not work - the data is arriving slowly and the onboard FIFO fills up quickly - this means that the external board is not being probed quickly enough which is very strange, since I isolated the while loop responsible for this probing. The FFT is calculated in another loop.
I tried calculating the FFT in the same while loop with the data collector - that is without using a queue at all and using a single while loop - and this works fine display-wise but I sometimes lose data packets.
What am I doing wrong and how should I approach this?
Thanks
tabl
Windows 10 IoT Enterprise and LabVIEW 2013
I have a similar question about Windows 10 IoT Enterprise. Does the LabVIEW 2013 SP1 Runtime Engine work on Windows 10 IoT Enterprise? I'd like to deploy a LabVIEW application builder-created .exe to a rugged tablet that seems to come with Windows 10 IoT Enterprise.
Need help with reading 1D array from Queue
Hi,
I am working on a project where I am using the cDAQ 9132 with some digital I/O cards. My goal is to fire a voltage pulse for a short time using the card with an external circuit and one requirement is that I can fire a full set of channels with one button press. My thoughts were to just create and array and insert it into a queue using a for loop, read the queue and fire away. The actual firing is working just fine like this but where I am having trouble is providing the user with visual feedback of the pulses. In order to do this, I need to be able to read into the queue right after I insert an element into the queue. For some reason sometimes an element is skipped when I read into the queue and it often times gets out of order if I push the 'fire' button several times.
I don't understand why the queue is working ok for the firing (although it too gets out of order sometimes) but when I try to read it, it acts completely different. Any thoughts? I am sorry I can not post my entire VI but here is a snapshot.
Moving average VI
Hi
I am new to LabVIEW . I have some noisy data coming in. I would like to filter the data by taking moving average of the samples. For that I have made the VI which is attached with this mail.
This VI is an example VI, in the sense that the incoming signal is an artificial signal.
However, I am not able to get the averaged data (which should be a sine curve), from the noisy signal.
For your convenience, I have attached a snapshot of both the front panel and the block diagram. As you can see, the averaged signal is almost a straight line.
The problem might be as simple as changing the scale of X, for all we know. Right now, the x coordinate is auto scaled. I tried to make the scale of x on both the plots same but was met with only limited success.
Please help !!
How can write this code?(Nxt)
I want write a program like in this vdieo?How can i do this?
Understanding DVRs - II
LV2013, Win7
I'm new to Data Value References and trying to figure them out.
In the previous episode, I learned that if you use the wire that you feed to MAKE DVR somewhere else, LV will perform a COPY of whatever you feed it, and the reference refers to that copy.
That makes sense when you consider that you can MAKE DVR from a constant 5.0.
If you were to use the DVR to manipulate the value, and loop over that again, the constant 5.0 would not be 5.0 anymore, and that's just stopped. So I get it.
To access the data the DVR refers to, you have to use an INPLACE ELEMENT structure.
That performs a MUTEX operation to access the data in one place and one place only, I get it.
HOWEVER, take a look at this diagram.
The thing I want to share (via DVR) is a cluster containing an array of Sequence Elements (never mind) and a few other things.
In this code, I want to get an index for one element of that array, and extract a copy of it to display.
I have SHOW BUFFER ALLOCATIONS turned on.
I understand why I have an allocation at point #1 - I want to make a copy, and that's fine.
What I DON'T understand is why there is an allocation at #2 or #3.
The bottom is an alternate method to see if anything changed - it didn't.
If an INPLACE element has the purpose of preventing (or trying to prevent) the copying of data, and the DVR's purpose is to refer to a single instance of the data, then why is there a buffer allocation here (#2)?
It looks to me like it's making a copy of the whole structure, and then extracting a single element? Am I understanding that right?
What is a better way to copy a single element from an array via DVR?
NI 9265
I am having trouble getting my NI DAQ 9265 to output current. I have done the self test and reset the device and it said it passed but i am not getting a reading on my oscilloscope. Can someone help me figure this out?
Why isn't array data passing into my for loop
Hello,
What would cause data to not pass into a for loop?? I am updating code for a third party DAQ (Model 2000) from QCM Research. I do not have access to the daq, so I am bypassing the DLL's and using the random number generator to send fake data via an array. I can see all data, before it passes into the for loops, using the probe or an indicator. What am I doing wrong?? Could the sequence structure be the problem?? I have attached a zip file that contains the project vi's, but my problem is occurring at the bottom of the Model_2000_System_Mon.vi Block Diagram. Any suggestion are welcomed. Thanks