ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Trigger start when a external device turns on

Solved!
Go to solution

Hello,

I measure with the USB 6255 some analog voltage signals which are export as an excel sheet via labview (first picture). I use the AI 0...71 and AO GND of the USB 6255 for the voltage signals (you can see at the second picture).

To start the measurement, I set a trigger in Labview via DAQ Assistant. The trigger is on APFI 0 of the USB 6255 and is set on 5 V. 

I can start the Labview programm the USB wait for a signal over 5 V for the APFI 0. But when I turn on other device which is connected to the same 3-way current distributor as the USB 6255 is , the trigger get a signal and the measurement start, without any signal which a want to measure. 

 

Can someone help me there?

Thanks in advance!

0 Kudos
Message 1 of 3
(1,518 Views)
Solution
Accepted by topic author kammer@pi-berlin.com

Hi kammer,

 


kammer@pi-berlin.com wrote:

I use the AI 0...71 and AO GND of the USB 6255 for the voltage signals (you can see at the second picture).


I recommend to use the AI GND instead of the AO GND…

 


kammer@pi-berlin.com wrote:

To start the measurement, I set a trigger in Labview via DAQ Assistant.


I recommend not to use the DAQAssistent, but plain DAQmx functions…

 


kammer@pi-berlin.com wrote:

But when I turn on other device which is connected to the same 3-way current distributor as the USB 6255 is , the trigger get a signal and the measurement start, without any signal which a want to measure. 


I recommend to switch on "that other device" before you start your measurement VI.

I recommend to power "that other device" from a different power supply.

I recommend to hook up a scope to analyze what's happening on your APFI pin when you switch on "that other device"…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 3
(1,494 Views)

Thanks for the help!

 

Best regards

Kammer

0 Kudos
Message 3 of 3
(1,450 Views)