LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

HP4145B output data string looks strange

Hi everyone,

I have been struggling with the following problem for many days. Please help. The problem is described below

I'm using LabView 2010, working with HP4145B. Everything works fine except the string data output looks so strange: instead of being "N+9e-3,N+7e-3,....", it is "NmwnyswtEmpslNmwnqttpEmpslNmvnsupuEmpslNmunuuwqEmpslNmtnwvsqEmpslNmsnyvypEmpslNmsnqwuuEmpslNmrnsxqvEmpslNmqnuxxpEmpslNmwysnuuEmpvlN`rvsnvyEmpylN`wysnxtEmpvlN`qnuxxpEmpslN`rnsxqpEmpslN`snqwtuEmpslN`snyvxpEmpslN`tnwvquEmpslN`unuuuvEmpslN`vnsuqpEmpslN`wnqtttEmpslN`wnysxtEmpsMJ"

Therefore I cannot extract and convert data into numbers.

 

Please help! I really need to get it done this week, so I would be very grateful if you can spend your time here helping me as soon as you can.

 

Regards,

Bao Q. Ta

0 Kudos
Message 1 of 3
(2,395 Views)

Hello Bao,

 

Are you using the Plug and Play driver found here? It is an LLB that should simplify getting readings and measurements from your device.

Cheers!

TJ G
0 Kudos
Message 2 of 3
(2,379 Views)

Hi TJ G

Thanks for the suggestion.

I used that driver!

After some strugglings, I found that I need to convert those characters into number: "p"="0"; "q"="1"; "r"="2",...; "m"="-", "n"=".",... It works! ^_^

Hope this help other people who is struggling with Hp4145B ^_^

 

Regards,

Bao

0 Kudos
Message 3 of 3
(2,365 Views)