DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Importing ASCII time channel in correct format

Hi,

 

I'm trying to import VBox (.VBO) files but I can't get the time channel formatting to behave in the Import Wizard. I can vary the format all day long but it never gives the right result.

 

The time format in a VBO file is hh:mm:ss.ss (see attached) and will occassionally have jumps in it as the VBox is set to only record when the car is moving.

 

Any help greatly appreciated.

 

Thanks.

 

Simon.

0 Kudos
Message 1 of 4
(5,227 Views)

Hello Simon,

 

I assume that you already tried out the VBox DataPlugin from ww.ni.com/dataplugins.

I imported your example file using the plugin. To me, the result looked OK.

 

What is it that you don't like looking at the result?

 

Andreas

0 Kudos
Message 2 of 4
(5,216 Views)

Hi Andreas,

 

No I hadn't - I didn't know that page existed! I have tried it now and it works.

 

My attempt at creating the same plugin failed to correctly convert the time channel - regardless of which settings I used.

 

Is it possible to interogate a downloaded plugin to see what the settings would be if the Import Wizard had been used?

 

Thanks.

0 Kudos
Message 3 of 4
(5,212 Views)

Hi Simon,

 

the plugins on ni.om/dataplugins are all encrypted to ensure tha the code isn't changed by accident.

More importantly, all plugins were not generated by the Import Wizard. As a Plugin developer, once you are familiar with the environment, you will easily generate code which is more compact and better readable than the code generated by the Import Wizard. The code from the Wizard is fast but not to well suited as a basis for further development. The file formats you can handle with the wizard can only have so much omplexity. The VBOX file format might go beyond that.

 

Andreas

0 Kudos
Message 4 of 4
(5,210 Views)