11-22-2011 05:45 PM
Hi, the system that im working on my thesis was build in another thesis work, those guys used MAX 4.6, NI PCI 6024E and labview 8.5 with windows xp sp3, but now we will use a new computer that works with MAX 4.7 NI PCI 6221 68 pins and labview 8.6. with windows xp sp3, we calibrated the new card with autocalibration button in max and we tested the card with self test button in the max too, in order to know how to connect our system we analized booth NI PCI cards to see their device pinouts and detect any possible differences and we got the next:
Table 3. System instruments. Name, pin conection and description in the card and asociated task (same to NI PCI 6024 y para la NI PCI 6221).
Instrument |
Pin description |
Pin conection |
Asociated task |
VV1 |
Digital PO.3 |
47 |
Electrovalvula1_PTM |
VV2 |
Digital PO.4 |
19 |
Electrovalvula2_PTM |
VV3 |
Digital PO.0 |
52 |
Electrovalvula3_PTM |
VV4 |
Digital PO.1 |
17 |
Electrovalvula4_PTM |
ACTIVACION PP1 |
Digital PO.6 |
16 |
- |
ACTIVACION PP2 |
Digital PO.5 |
51 |
- |
CONTROL PP1 |
Análoga AO 0 |
21 |
Name:Ezfuerzo_de_control Max: 5 min: 1 unidades: volts terminal config: RSE generation mode: N samples samples to write: 100 |
CONTROL PP2 |
Análoga AO 1 |
22 |
- |
LT1 |
Análoga AI 9 |
66 |
- |
LT2 |
Análoga AI 13 |
26 |
- |
FT1 |
Digital PO.2 |
49 |
- |
FT2 |
Análoga AI 11 |
63 |
- |
So we presumed that channels that we used (listed in Table. 3) where the same in booth cards, so we connected our system, we created task as was created in original computer and we fixed every channel direction in the labview supervisory, so, the program works, but we have a bizarre failure, the signal of LT1 appears in LT2 without any explanation, I mean, when I execute the program with “continuous execution” even if I disconnect LT2, this LT2 value is the same that LT1 measures, but if I disconnect LT1 and run the program in “continuous execution” the system works good, and LT1 measures zero (as we expected) and LT2 measures the right voltage at the input. But running this program with “highlight execution” the program works good and this memory corruption failure does`nt happened. So, I tested my instrumentation and it is ok, after that I tested the program again with the card disconnected from the instrumentation and I performed the test already mentioned creating a new vi that generated a voltage signal in the pin 21(Ao 0) and the results was the same that before.
We re-connected the system to the older computer and againt it worked good, so, we don’t know how to solve it.
Thanks for helping.
Pedro Rivera
ps.
VIs and documentation is here read "read me" file in documentation. rar
if u need more information, please ask me, thanks for helping