ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Scan CSV with SI formated numbers

I have a lot of trace data in CSV format where the frequency is formated as a SI number. I am trying to read that data back in but am having trouble with the formating strings. Please see the attached example.

0 Kudos
Message 1 of 6
(3,521 Views)

Hi Viper,

 

there's a workaround...

check.png

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 6
(3,516 Views)

There does appear to be a problem.  Fortunately, there is a relatively simple workaround that scales a bit better than your original, but will use a bit more memory.

 

ScanMultipleFormatsFromCSV.png

 

I have filed CAR 309897 on the issue so R&D can fix it.

Message 3 of 6
(3,513 Views)

Thanks to all. My final solution with credit to contributors. I have left default data at the input to display a trace at the end. Remove data to save with a smaller footprint.

Message 4 of 6
(3,490 Views)

I know this is an old post - but had a play today and noticed this: 😀

SI format playing.png

Screenshot 2024-10-10 140013.png

Message 5 of 6
(756 Views)

@Al1234 wrote:

I know this is an old post - but had a play today and noticed this: 😀


Nice catch! You do get an error each time that you have to clear/ignore, but knowing that it's a great workaround!

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 6 of 6
(708 Views)