Jump to content

ooth

Members
  • Posts

    69
  • Joined

  • Last visited

Posts posted by ooth

  1. If you pass a control's reference to a subVI so you can edit its properties

    1) should you close that reference in the subVI?

    2) pass that reference back out of the subVI and close it in the main VI (even if you don't need to access it anymore)?

    3) don't even worry about closing it because when the main VI exits the reference will be taken care of?

    I know it's good practice to close references I just don't know where to close it or if I have to?

  2. QUOTE(yen @ Jul 27 2007, 08:54 AM)

    Yes, while your CPU can perform operations very fast, Windows is a standard OS and as such does not gurantee timing. It can take the CPU from you and cause LV to wait every once in a while for its own purposes.

    While Windows cannot gurantee timing, I was wondering if this is the same on Linux systems?

  3. QUOTE(Jim Kring @ May 15 2007, 05:50 PM)

    I upgraded to 8.2.1, recently, and my visaconf.ini is still in the same old location (C:\VXIPNP\WinNT\NIvisa\visaconf.ini).

    Thanks Jim for letting me know it's still there. I did have some issues when upgrading and it could have been deleted from my computer.

  4. After I upgraded to LabVIEW 8.2.1 and installed the newest MAX4.2. and NI-VISA4.1, the visaconf.ini was missing. It used to be under C:\VXIPNP\WinNT\NIvisa\ but now it's gone. Just to remind everyone what was in that file, it contained the aliases to the COM ports and other devices:

    [ALIASES]

    Alias0 = "'COM1','ASRL1::INSTR'"

    Alias1 = "'COM2','ASRL2::INSTR'"

    Alias2 = "'COM3','ASRL3::INSTR'"

    Alias3 = "'COM4','ASRL4::INSTR'"

    Alias4 = "'LPT1','ASRL10::INSTR'"

    NumAliases = 5

    So does MAX save the aliases to a different file?

    I use to dynamically write to this file with LabVIEW so the user could define their own aliases.

    Is there still a way to create an alias without using MAX?

  5. Don't worry about asking questions here. LabView can be confusing at first.

    Instead of using the "Insert Into Array" block, you just need to wire the output of the case structure to the array. When you bring a wire out of a For Loop it automatically becomes an array, shown by the square box I indicated in the picture.

    post-858-1155300082.jpg?width=400

  6. Structures (For Loops, While Loops, etc) will auto grow when you resize another structure that is inside it. This happens for all the structures except the Flat Sequence. Drop a For Loop on the diagram and then put a Flat Sequence in it. Grab the bottom edge of the sequence and resize it so it extends out of the For Loop. The For Loop won't grow! But it will grow if you use any of the other structures instead of the Flat Sequence. The thing is that I tried this in LABVIEW 7.1 and the loop did grow! So is this a bug in 8?

×
×
  • Create New...

Important Information

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