LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Doubst with the function Scan and the Toggle button

Hello,
I have some doubts.
When it uses the modifiers [in] or [wn] in the function Scan, instead of "n" , cans it use a variable?

For example instead of
Scan (Target, "%s>%s[w1]",Target2);


Scan (Target, "%s>%s[wNumber]",Target2);

where Number is a variable.



Second doubt.

In Visual Basic, when you put
some options button into a frame every time one of them is chosen (when it
runs), the rest is unselected. Is there any way to do the same in
LabWindows/CVI 5? or every time one of them is chosen the rest has to unselected by code.

Thank you very much for yours answers.
0 Kudos
Message 1 of 3
(3,052 Views)
As per your first question, I suggest you to read this paragraph in the CVI Formatting and I/O Library manual:
'Scan, ScanFile, ScanIn�Asterisks (*) Instead of Constants in Format Specifiers'; inside it you should find the answer to your question.

With regard to option buttons, in CVI there is no native equivalent to this VB control: you will have to do it programmatically by yourself or use this useful instrument driver available in the Development Library: "Independent Sets of Radio Buttons in CVI",
http://zone.ni.com/devzone/explprog.nsf/6c163603265406328625682a006ed37d/2eec01d3aeecea2b852563ff006c1076?OpenDocument

Hope this helps
Roberto


Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 3
(3,052 Views)
Thanks Roberto.


"Roberto Bozzolo" escribió en el mensaje
news:506500000005000000A4A90000-1031838699000@exchange.ni.com...
As per your first question, I suggest you to read this paragraph in
the CVI Formatting and I/O Library manual:
'Scan, ScanFile, ScanIn-Asterisks (*) Instead of Constants in Format
Specifiers'; inside it you should find the answer to your question.

With regard to option buttons, in CVI there is no native equivalent to
this VB control: you will have to do it programmatically by yourself
or use this useful instrument driver available in the Development
Library: "Independent Sets of Radio Buttons in CVI",
http://zone.ni.com/devzone/explprog.nsf/6c163603265406328625682a006ed37d/2ee
c01d3aeecea2b852563ff006c1076?OpenDocument

Hop
e this helps
Roberto
0 Kudos
Message 3 of 3
(3,052 Views)