LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

normal string display to Hex string display

ya i need to transmit S as hex value of that hope so it is 53 and hyphen as 2D.

i think i ve to split the string as it goes beyond U64 length.

Also i need another clarification. Can i stop a subvi from the main vi control.

i tried with global variable and also through reference but couldnt. can u suggest me in this also

thanks

regards

Bala

0 Kudos
Message 11 of 12
(569 Views)
Well, you have a slight problem then, or at least a lack of requirements definition. This is your string: "AC0725470860003 - SD". You said that you want to transmit "A", "C", "0", ... as the hex value A, C, 0, and so on. But a hyphen as 2D, which is the ASCII code for a hypen. What about the "D" in "SD"? Is that supposed to transmitted as the character "D" or as the hex value D? What defines how you treat a character as a hex value or as a regular character?

With respect to your other question: There are various ways of pausing/stopping a subVI that's running from the main VI. Are you actually calling the VI dynamically, or do you have its icon on the block diagram of the main VI? If it's the latter the main VI will wait until the subVI completes before continuing since it is waiting for any data from the subVI. If you're trying to trigger a condition from the main VI it's not going to listen unless you have a separate, independent loop.
0 Kudos
Message 12 of 12
(556 Views)