Info
Cette question est clôturée. Rouvrir pour modifier ou répondre.
Using More Than 4 Analog Inputs Causes Software Created with xPC Target Embedded Option to Not Run
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaire
Walter Roberson
le 27 Oct 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.
Réponses (1)
Cette question est clôturée.
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!