LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Triggering and simultaneous measurements

Solved!
Go to solution

You can program your digital output device with a digital waveform on all four channels. The waveform itself would turn the valves on, and the timing would depend upon your sample clock. This gives you much better timing than your software version (which does work). It also allows you to very tightly synchronize the input current measurements with turning on the valves by sharing your timing clocks (see above examples). Search for examples of digital waveform output in the LabVIEW help (or these forums) to get examples. You are heading the the right direction.

 

Don't worry about being a beginner. We all started as beginners. As long as you keep learning, you won't be a beginner long. Right now, you are being fire hosed with information, so it takes awhile to learn it all. Soon, it will become second nature and you will go on to the next level.

 

Good luck!

Message 11 of 13
(509 Views)

Hi GFGray

 

Could you please help me to improve the attached VI. I'm in urgent need of any advice. 

 

I've tried to follow your instruction, but still not sure about some points:

 

1. I've made daqmax code out of my daq assistance , and as you can I've seven create channel functions (connected in series) in my block diagram.  Is it Ok to have it like that??  do I need to have separate line for each channel(parallel arrangement)??

 

2. If I have 1 Create channel function, and configure it to read from multiple channels, how to get the scale up curve to each channel??( in my case each channel has different scaling curve,(calibration curve)

 

3. What is the use of get terminal name with device, and how to get it? In my case I've just copied it from one of the examples!!

 

4. I put my Read function(for analog input) directly to the while loop not in the case structure, as I need the measurement to be continues as the valves are controlled. Is that right.?

 

5. How to split the waveform signal to display it on different indicators, one for each channel? What is the best way for data logging in this case?

 

 

Best Regards

 

Rajab 

0 Kudos
Message 12 of 13
(488 Views)

Hi 

here's some updates to the previous vi

 

 I've added write function before (start ) to create the signal to be generated. Every thing goes fine until the start function (of digital output) then the attached error occurs.(specific operation can't be preformed while the task is runing) Please see the attached pic. 

 

Best Regards 

 

Rajab

0 Kudos
Message 13 of 13
(480 Views)