in data 07-10-2007 02:38 PM
in data 07-10-2007 11:29 PM
in data 07-11-2007 09:11 AM
Hello Mike, thanks for the reply. After the data is acquired, some Mx+B or other simple formula are applied to some channels. Other channels, particularily those measuring thermocouples are sent from the logger already converted so no processing is required. There will be some limited 'out of range' checking on some channels and if found out of range that data's display will be highlighted in some way. Data will be displayed in two or more arrays or tables, probably on different pages of a tab control. The operator will be able to select channels for sending to a chart control that will act as a strip chart recorder. Haven't done a lot with chart/graphs yet so have that to look forward to
Data and/or the chart will be saved or printed on demand, or perhaps triggered by some data condition.
This portion of the program will be a general purpose data acquisition program set up for our particular needs. All the loggers channels will be individually programmable by the operator before scanning begins (logger eu and any math) and the operator will be able to select which channels will be scanned and at what intervals. The channel and scan programming will likely be on a seperate tab page. There are 100 data logger channels available to each operator. It takes aound 5 seconds for the logger to scan all 100 channels and transfer the data via RS232, but the operator may only be scanning 1 channel at a minimum time interval in some cases to see fast (for us) changing data. I will need to have a 'logic triggered' scan where a scan of a block of channels is triggered by a "trigger channel". The trigger scan would be caused by the trigger channel exceeding a min/max setpoint or a boolean comparison like a contact input.
In addition to the general acquisition/display capability, some dedicated test procedures will be run. When these tests are run the general acquisition portion will not need to run so it can be disabled. These tests are run over time with some minor control through output relays occur. These output relays are on a seperate IO board also RS232 controlled. Various reports and files will be read and written during testing/acquisition and a custom screen to display data will be provided for each test. It's possible these dedicated tests will be written as seperate programs perhaps callable by menus on the acquisition portion.
Well now you know about as much as me about how this program is going to evolve
. thanks for helping, hope this is the type info you were requesting.
Regards, Mike
in data 07-11-2007 09:44 AM
in data 07-11-2007 10:27 AM
in data 07-11-2007 03:41 PM
From your VI, you are not doing anything "wrong". Only thing that might be better is having two state machines. If you don't know about state machines, you can look at the LabVIEW template by going to File >> New >> VI >> From Template >> Frameworks >> Design Patterns >> Standard State Machine. As search NI.com for state machines and you will find even more information.
Hope this helps!
Dan
in data 07-12-2007 08:48 AM
in data 07-12-2007 09:06 AM
Dan, thank you for your help and suggestions about state machines. I will look into it
Regards, Mike
in data 07-12-2007 09:41 AM
in data 07-12-2007 10:50 AM