LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

labview(8.0) help(Already posted in BreakPoint but as suggested puttin my querry in LabVIEW board)

hello everybody,
I am making a project entitled "Multichannel data logging system" but i ma facing few problems in it.

Project description:To design a software just on parallel lines like DCS and SCADA.Using NI-ELVIS.The system is made up of 2 hardware models designed by me.first is a godown unit and second  is PWM motor speed control unit.
The 1st unit has 3 sections which give out 3 voltage signals which are to be accquired.With each section there is associated a switch which when switched on by operator sets  a count1=1 for section  1  and  when switch is on for section2  section 1 is off with its count1=1 and for section2  count2=1.Thus the no of times a switch is switched on the instance should be counted.Again when switch for section1 is switched on by the user count1 should become equal to 2.this is what is desired by me.
As far as second hardware is concerned i am having no problem.
Since i dont have a daq card in my pc i have made a vi based on simulation which is analogous when using daq card.

But unfotrunately i am not able to do what is suggested in the idea above.
I posting photos of my hardware and my vi.So i would be grateful to anyone who would correct the mistakes in my vi .so that it can run properly.

Abhishek
Download All
0 Kudos
Message 1 of 2
(2,226 Views)
It is nice that you now post this in the LabVIEW board, but it would have helped to use a more descriptive title that actually relates to the problem. "LabVIEW 8 help" could apply to 50% of all problems posted here and does not provide useful information. It is not unique enought to be useful. 😉
 
You should probably become a bit more familiar with LabVIEW, dataflow, and event structures, because your current code makes very little sense.
 
You have event structures that depend on "value change" of indicators. They will never trigger!
 
Events are primarily for controls (not indicators) and trigger if the control is changed by the user. Writing to an indicator will NOT trigger an event for good reason. There are ways around this by writing to a signaling property, but event that would not work on your case because the value only changes in the event that is supposed to be triggered by the change of the same FP object and you end up with a chicken-egg problem.
 
Please explain in a few more sentences what you actually want to do. Maybe we can help. 😉
  1. Why do you need three identical tunnels to wire the dynamic data to the event structure. One tunnels is sufficient.
  2. Why do you need two tunnels for the iteration.
  3. Why are some of your indicators EXT datatype. Makes no sense!
  4. Why isn't the print code in the print event? You wouldn't need any ot the boolean logic!
  5. Some of your code makes little sense, e.g. in the "Numeric indicator storage" event, you take dynamic data, compare it with a DBL, logical AND the result with boolean TRUE, then add an integer to it. Why??? What should the result be?
  6. Why is there no stop button?
  7. Why are the delays inside the event structure?

 

Message 2 of 2
(2,204 Views)