Jump to content

Puzzlemaker

Members
  • Posts

    4
  • Joined

  • Last visited

    Never

Puzzlemaker's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Update: I got it working, reading in. I need to add more stuff now. This configuration file is getting x-treme. I put in a formula for each sensor in the configuration file (AKA a strain gauge formula). You put in names of objects on the front panel and it parses through and replaces those with constants, and then sticks them through the eval formula node VI. This lets you define the formula for each sensor type in the configuration without having to hardcode it. Its sad I can't use if statements in the formula, but whatever. Now I just have to figure out how to store how the front panel controls effect each other. Example: When Dropdown A is option 1, show dropdown B. When Dropdown A is option 2, show numeric input C. When numberic input C is shown, numeric D equals numeric C... ect I am considering writing a lab-view based script that has if statements so I can define that stuff in the configuration easily. Any suggestions?
  2. Thanks a ton! Yeah, I ended up with a super-complex cluster. I was trying to avoid that, thinking maybe there was some sort of way to store the data. Again, appreciate the help! Looking into the Open G stuff now!
  3. QUOTE(Ben @ Aug 13 2007, 11:38 AM) Well, no, because I have no idea how to even store them, and I haven't created all of them yet. I will post what I have though. This is the command information for the hardware, one of the things that has to be in the configuration. The Port A is the hardware type. There will also be a list of channels for each Port (Hardware piece), and each channel will have what controls to show on the front panel (A list of labels), plus what options each one of those controls can have. The Sensor information will also be a list of each different kind of sensor, with a list of controls to show on the front panel, plus what each option can be.
  4. Hi. Bit over my head here. I am trying to create a configuration for a fairly complex application that reads hardware. The configuration file will have a ton of diffrent options and parameters, each of which will have other options. Think of it more like trying to write a data tree. It also has to be editable easily. Whats the best way to go about doing this? I was thinking XML, maybe. The easiest method I think would be to use Varient Attributes, but they arn't being written to the XML file (Only the varient data is, not the attributes), is there a way around this? Or a better way to store data? Some details: The data being stored is configuration data for hardware sensors, such as accelerometers. Each hardware peice will have a variant number of channels, and each channel could protentially support different sensors. Plus you have Gain and other options for each Channel, and a list of valid commands for each peice of hardware and the commands to start it running (Such as SET_CHANNEL, ect.) Also required are the sensor information. Each type of sensor will have a configuration setup. All this has to be written into a configuration file that is easy editable so new hardware can be added as they are created. Thanks in advance!
×
×
  • Create New...

Important Information

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