Jump to content

sand of time

Members
  • Posts

    9
  • Joined

  • Last visited

    Never

Posts posted by sand of time

  1. Hi

    You used too many Express VIs and writing *.lvm file is also very slow. I think you need to programm your software with DAQmx VIs and save data to binary file. When you use the while loop structure, you need to place a time delay. If you don't do that, the CPU usage will be 100%.

    Vern Wu

  2. You can, however, "simulate" addition of new controls, assuming that you want to add several instances of the same type of control, you make them ahead of time, say 10 (or 20, whatever) then hide them and/or keep them off screen, then as your user requests them, move them into position and unhide. To the user it will look like the control was made. The downside is trying to set a reasonable limit on how many to premake. Are you making some type of GUI layout editor? What is your end application?

    Another possibility is to use the picture control for your editing canvas, using images of controls, then create a copy of a VI off to the side from a template and then add the controls using New Object. The copy would not be running and therefore you could add the controls.

    YMMV

    Thank you!

    But it can not creat controls dynamically, because the number of controls is certain.

    I think I have made a mistake, my opinion does not accord with logic.

    Thanks for your helps, I learn a lot in this forums.

    Bin Wu :thumbup:

  3. Hi all,

    I have made an application that comes up with a set number of elements every second. I decided to log this data binary, starting with a u32 timestamp.

    Each entry has a set number of bytes, as follows: U32, DBL, DBL, DBL, I16, DBL, DBL, DBL, DBL, I8, I8. A total of 64 bytes an entry. Each binary file can have an arbitrary number of entries.

    I want to have Diadem 10 read this binary file and convert it to Diadem channels. I think I have to build my own parser via file>dat file>import via header, but I am not sure how to fill in these dialogs. Does anyone know of a good example, application note or have a good explanation on how to make this binary parser?

    Thanks!

    I create the binary files with Labview. Maybe it makes more sense having labview parse the files and save them as TDM data. Unfortunately I am not sure how to configure these express VIs either. :unsure:

    I suggest you could try to save your data to LVM file, DIAdem can read the LVM file, too.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.