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: 

digital trigger

Solved!
Go to solution

Hi, 

I have made this program to choose the digital trigger automatically. But now I don´t know how to conncet it in my program.

The purpose of this program is that instead be choosing the trigger you need, the program detects whether there is a letter "A" and if there is, automatically branded.

0 Kudos
Message 1 of 9
(4,130 Views)

Hi 99,

 


@labview99 wrote:

I have made this program to choose the digital trigger automatically. But now I don´t know how to conncet it in my program.

The purpose of this program is that instead be choosing the trigger you need, the program detects whether there is a letter "A" and if there is, automatically branded.


This VI can be simplified like this:

check.png

(Still error checking is missing, like "input string does not contain any char A".)

 

This VI has a string input and a boolean 1D array output: these are the possible connections. Why don't you know "how to connect in your program"?

What do you mean by "automatically branded"?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 9
(4,117 Views)

Hi GerdW,

You are right like this the VI is more simple.

Now, I would like to detect the position of the array where is detected the letter "A" and according to that, send a frame in a string.

Thank you

0 Kudos
Message 3 of 9
(4,105 Views)

Hi, 

I have one array od booleans and I have detected which position is True. But now I want to send  a frame depending this position that I have detected. I mean if the position 3 is TRUE, I want to send one string which says " position number 3 "

0 Kudos
Message 4 of 9
(4,114 Views)

I have made this program

0 Kudos
Message 5 of 9
(4,099 Views)

Hi 99,

 

you already know the "position where the letter A" is detected…

 

What is a "frame in a string"?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 9
(4,081 Views)
Solution
Accepted by labview99

Something like this?:

Capture.PNG

Perhaps a +1 for the number depending on if you want 0 or 1 as first position.

Certified LabVIEW Architect
0 Kudos
Message 7 of 9
(4,082 Views)

Hi 99,

 

why don't you keep related problems in one thread?

From your older thread you already know the requested position!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 8 of 9
(4,078 Views)

Now it goes perfect!! Thank you so much for your help!!!

Best regards

0 Kudos
Message 9 of 9
(4,064 Views)