HI,
I'm working with an R serie PCI-7833R inboard FPGA and LV7.1.
I'm usign a simple PID loop with analog I/O.
All I/O and variables are int16.
When I run the host.vi, I can set a negative setpoint down to - 32768 and all goes well.
But when I compile the host.vi to host.exe, the setpoint into the FPGA can't go lower than 0.
At the same time, I can read negative analog input (int) and negative int16 feedback into the PID !!!
Thanks for your reply.
Allo,
J'utilise une carte PCI-7833R (FPGA) et LV7.1
J'ai un PID implémenté dans le FPGA avec une consigne d'entrée en variable, 1 rétroaction en entrée analogique et une sortie analogique pour la commande.
Rien de plus simple....
Lorsque j'utilise un host.vi tout fonctionne bien.
Mais lorsque ce host.vi est compilé en host.exe, la consigne passée par variable au fpga est saturée entre 0 et 32768. Les consignes négatives sont donc inutilisables.
Pourtant toutes les variables sont int16 !!!
Merci à l'avance de votre réponse.
--
NICOLAS HUPPÉ,M.Sc.A, ing. jr.
Groupe de Recherche PERSEUS
Université de Sherbrooke