Academic Hardware Products (myDAQ, myRIO)

cancel
Showing results for 
Search instead for 
Did you mean: 

myRIO digital trigger

Hello,

 

Is it possible to somehow digitally trigger (start) a program on myRIO? I watched the instruction video on digital triggering and it seemed easy but they are using DAQ assistant which is not present on myRIO.  So, is there some easy way to do this on myRIO?

 

I have a light sensor photodiode module with a digital output which I connected to digital input, and I would like to use it as a light gate to start measurement of vibrations with accelerometer on a bicycle. I found this demo program on YouTube which is like exactly what I need https://www.youtube.com/watch?v=YlQukBt1lWI but I can’t find a way to digitally trigger its start.

 

Thank you,

Gabriel.

0 Kudos
Message 1 of 2
(4,501 Views)

Hi Gabou,

 

Have you been able to implement a digital input task (either using an Express VI or the low-level myRIO functions) at all? I would start there. You could then potentially implement a sequence of code that initializes the myRIO, runs a trigger loop that terminates upon receiving a logic high from your photodiode, and finally runs an acquire loop that measures the accelerometer vibration.

 

Several of the example myRIO programs that ship with LabVIEW implement flat sequence structures to drive this sort of data flow. You can find these examples by navigating to the Help tab in LabVIEW, Find Examples, Toolkits and Modules, myRIO.

Ross S.
Applications Engineering
National Instruments
0 Kudos
Message 2 of 2
(4,465 Views)