ni.com is currently experiencing unexpected issues.

Some services may be unavailable at this time.

取消
显示结果 
搜索替代 
您的意思是: 

digital trigger

已解决!
转到解答

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 项奖励
1 条消息(共 9 条)
3,811 次查看

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 项奖励
2 条消息(共 9 条)
3,798 次查看

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 项奖励
3 条消息(共 9 条)
3,786 次查看

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 项奖励
4 条消息(共 9 条)
3,795 次查看

I have made this program

0 项奖励
5 条消息(共 9 条)
3,780 次查看

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 项奖励
6 条消息(共 9 条)
3,762 次查看
解答
已被主题作者 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 项奖励
7 条消息(共 9 条)
3,763 次查看

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 项奖励
8 条消息(共 9 条)
3,759 次查看

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

Best regards

0 项奖励
9 条消息(共 9 条)
3,745 次查看