Jump to content

Synss

Members
  • Posts

    3
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

LabVIEW Information

  • Version
    LabVIEW 8.6
  • Since
    2007

Synss's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. This probably is not the approach you were thinking of, but I believe that the most convenient way to reuse GUI elements is to save them as controls (prefer typedef's or strict typedef's). This way, they are centralized and can be updated all in one place.
  2. Hello everybody, I am writing a Labview program (using LV 7.1.1) to control valves on a chemical installation (each valve is connected to a digital I/O of the board), there are 30 to 40 valves in all, and there is a physical separation in that we use three different instruments. Some valves are only to allow reactants in/out, others will need to be pulsed during the experiments. I am wondering how to write the tasks in MAX, would you recommend a single task per valve, with the advantage that it will have a human-readable name in the programs and that I can create arrays of tasks later, or maybe directly a task per instrument (i.e., containing about 10 DIO for 10 valves) to more simply deal with arrays of bool later? Or maybe many redundant tasks (I mean tasks that act on the same channels) to pull out like global variables, in the latter case I would use a 10-channels task for initialization and then a single-channel task for pulsing or opening a valve? What would be the recommended way? Most flexible and simpler to code for? Now, I have tried the one-task-per-valve approach and then, these tasks put into an array. But I have a problem with finding which channel to switch for changing the state of a single valve in the array. I have written an ENUM to name the tasks in the array, but it is not very flexible (because the ENUM and the array of tasks are separated and easily fall out of sync: different files, different coding priorities...). The latter may actually be my biggest problem here.
  3. Hello everybody, I have NI M Series PCI-6229 boards. I am looking for a way to expose all of the 48 digital I/O (DIO) from the card, or at the very least, the 32 lines on port0. I would appreciate if it is rack-mountable (19") as well. And I am working in a German university so, although I would appreciate any recommendation, it would be easier for me to buy things in Germany (or maybe Europe). So far, on NI's site, I found things like the NI BNC-2090A, but these are only exposing the analog I/O, and the PF IO. So they do not work for me. I also searched the forum here without success. Thank you.
×
×
  • Create New...

Important Information

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