01-30-2013 03:52 AM
I'am using a DAQ to measure analog signals with a motor with its controller giving the motor counts . I need the variation in intensity of DAQ signal with the motor counts. I had converted the motor counts into number using the converter and then put it to the build XY graph VI in labview 2011. I had done the same thing using the DAQ. I put the DAQ output to the Build XY graph VI . Butfinally graph is not drawn is it a problem with the bundling of data from DAQ.please help me I'am attaching the VI with this
01-31-2013 10:48 AM
Hi,
Could you post a LabVIEW 2010 version of your VI?
-CC
01-31-2013 11:01 AM
You are resetting the XY graph each time you call it. Please look at how you have configured it.
Also, do not do a VISA Configure Serial Port and a VISA Close inside the loop. And, since I doubt that the string to write is *IDN?, make it a constant and use the correct command. You are also acquiring 1000 samples with the DAQ Assistant but only one with the serial read. Why?
01-31-2013 06:06 PM
Perhaps you only want one number from the com port number and one analog voltage per loop.
Here's a snippet that shows Build Array and Shift Registers. It is only a starting point, though.
Perhaps change your express VI to only take one sample.
There is a good XY Graph.vi in the Example Finder.
01-31-2013 07:26 PM
02-01-2013 12:18 PM
Thank you, Dennis.
Somehow I've missed the glory of the express vi's.
02-01-2013 12:28 PM
I guess a typo caused the bleep because I intended to write 'shift' register.
In any case, I looked again at the block diagram of the express graph and my memory was wrong. It does not use a shift register. It uses a local to keep a history of the graph.