LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error -200088 occurred at DAQmx Timing (Sample Clock).vi:4730001

Hi Kevin P,

 

Thank you for the information and suggestion, I will look into that further and try to make some changes.

 

Yes, this program was previously used in a similar experiment however it only utilized 1 of the output channel. But the number of input channels used were the same.

 

-Giovanni

0 Kudos
Message 11 of 13
(633 Views)

Hi Kevin P,

 

I'm confused about your statement on this,"(The device acting as the source should be started last)". I want to use both devices Analog Output channels, so the both of them are sources right? I'm sorry if this question is very dumb but i am very new to labview.

 

-Giovanni

0 Kudos
Message 12 of 13
(627 Views)

No, that's a fine question, I wasn't explicit enough.

 

You're absolute right that both AO devices act as *signal* sources.  What I was *thinking* about (without stating it) was which device would act as the *sample clock* source for timing purposes.

 

For example, let's suppose Dev1 will act as the "master".  You can define its sample rate with DAQmx Timing the standard way.  For the AO task on Dev2 (and both AI tasks), you would wire in a constant like "/Dev1/ao/SampleClock" as the 'source' input in the calls to DAQmx Timing.  Then you'd make sure that the Dev1 AO task is started last.

 

 

-Kevin P

ALERT! LabVIEW's subscription-only policy came to an end (finally!). Unfortunately, pricing favors the captured and committed over new adopters -- so tread carefully.
0 Kudos
Message 13 of 13
(619 Views)