09-10-2008 03:59 PM
Hey Wallace,
I am sorry about the front panel view. I haven't done the coding, but now i am trying to modify according to our requirement. About the DAQmx Read, there is no such VI addded to the Worksheet. The screenshot is with added DAQmx Read VI. But i am not sure why we may need DAQmx Read VI.
About the Synchronizion siganls. We need to make sure that we can control the counter inputs.The phase shift is same as Channel A lagging channel B.
When i run the example in counter measurement> angular position with the signals from 2 functional generators. I can read the values with 90deg phase but i cannot control the signal. Like for example: when i run the program without any signal like functional generator in off mode, it throws an error. So when i turn on functional genrator i can see the program running.......it just iniates the signal and we can't see any impact when there is in the signal. Does it make any sense of these explanantion. I can try in a better way if you canot follow the concept.
Thank you
Kirit
09-10-2008 04:01 PM
Hey Wallace,
I am sorry about the front panel view. I haven't done the coding, but now i am trying to modify according to our requirement. About the DAQmx Read, there is no such VI addded to the Worksheet. The screenshot is with added DAQmx Read VI. But i am not sure why we may need DAQmx Read VI.
About the Synchronizion siganls. We need to make sure that we can control the counter inputs.The phase shift is same as Channel A lagging channel B.
When i run the example in counter measurement> angular position with the signals from 2 functional generators. I can read the values with 90deg phase but i cannot control the signal. Like for example: when i run the program without any signal like functional generator in off mode, it throws an error. So when i turn on functional genrator i can see the program running.......it just iniates the signal and we can't see any impact when there is in the signal. Does it make any sense of these explanantion. I can try in a better way if you canot follow the concept.
Thank you
Kirit
09-11-2008 12:04 PM
Hi Kirit,
The reason I asked about the DAQmx Read VIs is because if you are doing any kind of input, you need a read VI to actually get data from the hardware into LabVIEW. The data from the counter input channels are accessed in LabVIEW by way of the data output terminal of the DAQmx Read VI. I noticed that you don't have the data outputs of the DAQmx Reads wired to anything in the picture of your counter input tasks. Where in your process do you require the data?
Regarding synchronizing the function generator signals, what type (manufacturer and model number) of function generators are you using? Can you control the function generators in LabVIEW, or are they controlled external to the software?
Best wishes,
Wallace F.