Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
Using More Than 4 Analog Inputs Causes Software Created with xPC Target Embedded Option to Not Run
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
I am using xPC Target Embedded Option (2010b) with a NI PCI-6229 I/O card as a controller and data logger for hydraulic systems on a vehicle.
My controller functions perfectly so long as I only use 4 of the 32 available analog inputs on the I/O card. Any more and as far as I can tell (there is no screen to view the controller output only indicator LEDs) the software does not run and no data is logged in the file scopes (the .dat files are created but empty). I receive no error during the build process and the MatLab screen reports a successful build.
I have configured the inputs as single ended and differential correctly and tried skipping channels (e.g. used 1,2,3,4,6,7 to eliminate the possibility of a problem isolated to channel 5) with no luck. If I make no changes at all other than removing channels 5 and above, it works as expected.
Does anyone have any idea why channels 5 and over cause this problem?
Regards,
James
1 Kommentar
Walter Roberson
am 27 Okt. 2011
Does 1, 2, 3, 6 work? Just to isolate it down to whether the problem is using above 4 or if it is the total number of channels that matters.
Antworten (1)
Diese Frage ist geschlossen.
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!