LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Trigger and gate

hi,

       i am using Trigger and gate.vi for extracting load Vs displacement. the displacement starts at 50mm to 80mm i need to extract the two signal and have to plot x-y graph. in this vi. for configuration_trigger only with express vi only, because when i double click on Trigger and gate.vi will open the express vi configuration_trigger.vi.

 

i am using 8 channels also for start and stop triggers is different for all channels. i tried to access the sub_trigger.vi. and i use the start and stop terminal. i put 4 numbers of sub_trigger.vi then using start and stop terminal i given start and stop displacement. this is running with one while loop.

 

i got only the first trigger i got the data, after trigger is empty. why?

 

if i placed the express vi of trigger and gate, 4 numbers of vi then its work....!

 

but i want to setup the start and stop externally, almost the same express vi fit my requirements extactly, i tried with other logic also but its not workoing.

 

help me how to use this trigger and gate.vi to configure externally. also i have to use it for 4 sets of channels. 

Regards,
Balaji DP
0 Kudos
Message 1 of 6
(3,136 Views)

Can you post a simplified snapshot of your loop so we can get an idea of what's going on?

0 Kudos
Message 2 of 6
(3,121 Views)

dear sir,

               i am using the original code for this trigger and gate express.vi , 

Regards,
Balaji DP
0 Kudos
Message 3 of 6
(3,115 Views)

hello,

            i have the application to analysis the press force Vs displacement of the automobile component. using load cells and LVDT measures the force and displacement, like that i have 8 set of channels (8 Lodacell and 8 LVDT total 16 analog inpputs). i want to plot the x-y graph Displacement in x axis and force in y axis. The ranging of LVDT is 0 to 100mm and Lodcell has 0 to 100N ,the actual task is when the displacement start from 40mm to 90mm, i need show the x-y graph corresponding the force.  also this task should be execute only when the displacement starts from 40mm to 90mm, but the LVDT will reach up-to 100mm displacement after it will come down  to  home position , i.e 100mm to 0 mm. on the rising edge only i need to read the data, when its goes to falling edge i mean 100mm to 0mm need not to take the data.

 

for this above i tested with express vi Trigger and gate.vi, using this vi i can able to read the data when the displacement starts from 40mm to 90mm only when its happens on rising edge. about this express vi for configuring the channel and trigger information i have to use only in block diagram, i mean it is not a programatically to set this settings by externally, also it does not have any input terminals to set this parameter like other sub vi's.

 

how can i use this vi....? i need this all input terminals for this trigger and gate.vi.

 

if you have then send me in 8.5 version

Regards,
Balaji DP
0 Kudos
Message 4 of 6
(3,095 Views)

I think you can open the express VI and convert it to a SubVI.  Once it is there, you can see the controls inside the Express VI and modify them as needed?  Since I am not near my development machine, I can't test this theory right now. 

0 Kudos
Message 5 of 6
(3,080 Views)

Thanks, i solved this issue.....

Regards,
Balaji DP
0 Kudos
Message 6 of 6
(3,069 Views)