I've allready found the perfect VI on an NIforum, see attachment.
The original VI has the controls ( N teeth & -n teeth ) outside the while loop, I've put them in the while loop, is this a problem?
Because now that we've got all the 15 sensors we have to combine them which eachother,
for example :
the camshaft turns half the rpm the crankshaft does, there also is a phase difference between this 2 sensorsignals
how should I best program my application ( I wanna make it an execute file ), the main target is :
* simulate all sensor signals : done
* build them all in 1 .exe with ergonomic frontpanel --> at the moment all sensor are programmed seperated in a while loop so they can be runned and stopped
I've allready thought about a case structure and every case is linked to a tab on the front panel with on the tab and in the case structure label the sensorname
* output the signal with a PCI-6704 (static signals) and a PCI-6229 (dynamic signals) with the DAQ Assistant for data acquisition
Probably we've gonna have problems with this part, because we want to run a application with real-time adjustable output parameters with this PCI's
I don't know if this is gonna work, I've heared I can put a DAQ with different data inputs and outputs, as much as the PCI has outputs
6704 : 16 analog ouputs / 6229 : 4 analog outputs, we only use the analoge voltage outputs to simulate our signal
* make a testpanel with all actuators in a teststand with a PC with PCI's linked to the ECU ( motormanagement ) and this ECU linked to the actuators while the sensors are being simulated with LabVIEW 8.2, so the actuatorsignals ( output of the ECU ) can be checked on correctnes.
Tomorrow we're going to send the signals to the ECU and check how he reacts because we still have to find the exact triggerborder by fine tuning,
I would appreciate some forumhelp with the building of the program because at the moment I do not really know how I should do it best.
I was thinking of making all sensors subVI's and then link them in a sort of way, but i'm not really a big pro yet with LabVIEW it's the first year I work intensive with the program. In may I'm gonna follow Basic Course I & II.
Cheers,
Stijn