LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

scan

Hi all,

i need to use the function scanin order rto extract a string which legth is 9 and an integer of 5 numbers. So, i put  Scan(snbox,"%s>%s[w9]%d[w5]",vl_refclient,vl_idcarton); Seems doesn't work because of the w5 (word) but i need exactly five numbers, So, what shall i do?

Best regards.

0 Kudos
Message 1 of 2
(2,807 Views)

i founf a solution:

Scan(snbox,"%s>%s[w9]%s[w5]",vl_refclient,vl_idcarton);

Scan(vl_idcarton,"%s>%i",&idcarton);

thank you any way.

0 Kudos
Message 2 of 2
(2,800 Views)