03-01-2011 08:52 AM
v14 of the add-on is posted and brings these changes and known issues:
KNOWN ISSUES
CHANGE LOG
03-02-2011 05:22 AM
Ok, we installed v14... and we have mixed results!
The first experiment we made was a SUCCESS! We added ONE variable to the DAQ list (engine RPMs), acquired in angular task, and it worked like a charm. Nice real time plotting, no problems at all. It was the first time we got such a result: the same settings with v13 and running on the PXI hardware had always been a failure.
So far so good.
We tried adding a calibration (a map) to the system definition, we re-deployed the experiment... and we got the usual error code.
We removed the map from the system definition, thinking that it was causing trouble... and again, no communication, no plotting, and the usual error code. We powered off the ECU and powered it back on for a full reset, but again... to no effect.
Here attached is the log from the ftp on the device: it is very huge, but very repetitive so it zipped well. Is it so big because it is an incremental file?
And one more question... Is it possibile to specify more than one DAQ list at the same time? For example one at 20ms and one in angular task? From what I have seen, it looks like it isn't, right?
03-02-2011 08:24 AM
Wow that is a huge error log. Can you FTP in to the target and delete the log so it starts at size 0 again, then try the same thing and attach that error log?
This one contains very old information at this point, and I'd like to see what errors are thrown with the v14 add on.
Thanks for the patience!
03-02-2011 08:27 AM
And yes, right now there is only one measurement read loop in the custom device... so you can only pick one rate. I've had multiple requests for different rates for different measurements... but I haven't had the time to invest in that yet. For most people it isn't a show-stopper issue for them. Is this a big issue for you?
Remember you only need to add the characteristics and measurements to the system definition that you want available to the NI VeriStand engine (to map to models, hardware, to graph, etc). You can still read any measurement and characteristic from the workspace, even if it's not added to the system definition, with the custom workspace objects and the XCP and CCP Master Execution API.
03-04-2011 04:38 AM
Well, having multiple rates (one DAQ list for each rate) would be exactly what we are looking for... but maybe we could give a hand in future to help implementing this feature when we'll have solved our problems and gained some experience on the system (we are actually quite new in the NI world, and we are experimenting a bit with Labview/Veristand/Teststand on different fronts!).
And now some update on the problem...
We have deleted the old log file, and started a new one. It looks like the problem is intermittent... Some times everything works (either in polling or DAQ mode: it doesn't seem to make a difference since so far we have just experimented with 1 or 2 variables at a time and thus the bus load is negligible), some times it doesn't. Sometimes we stop/undeploy a perfectly working experiment, return after 5 minutes, deploy again the same exact project we had been used a few minutes before... and it doesn't seem to work.
At times, we also notice that the PXI system seems to get "stuck" and unresponsive to a "connect" request from Veristand. Sometimes it fiexes by itself, some other times we've had to turn the machine off and reboot it.
Here are the log files from this morning, anyway...
03-04-2011 04:55 AM
I would like to be add more info...
On the same PXI hardware, we are also running other stuff toghether with the XCP and CCP Master Add-On.
Our goal is to build a hardware in the loop system for testing ECUs, and so far we have successfully created Veristand applications for creating stimuli to the ECU. From the PXI (equipped with analogue and digital output cards, and a few FPGAs) we are providing the ECU with engine rpms, feedback from actuators, virtual pressure and temperature sensors: all these things are now output by our system and work fine.
Maybe this helps in getting a better idea of our configuration: I didn't want you to think that we are running only the Add-On on this machine... we actually have a lot of other processes going on in the background, although no one of them uses CAN: only analogue/digital outputs from dedicated cards and FPGAs... The CAN card is reserved for CCP comunication, and we seem to still have plenty of "processing power" judging from the console panel of the hardware...
03-04-2011 09:23 AM
Thanks for the additional background. I appologize for the issues with this add-on and I appreciate your patience. I've noticed from your error log that I'm failing to correctly report errors for a specific item, hence the blank line right underneath the specific item line the error log. This probably isn't what is causing the problem as its simply reporting, but I've updated the custom device to 14.1 to address this issue.
The change log:
<Bug> Partially resolved known issue #2, the auto connection handling will now work if you have either a char or a measurement added... but you have to have one of either type
<Bug> Fixed a problem where specific item error information was not reported in the error log
From what I see and what you describe, I'm concerned you don't have a good installation of the add on. I feel you might have things mixed up from old versions and new versions. Notably, the hanging of the target. I've seen this happen if you don't have the updated ECUMC dll provided with the add on installed on the target.
I suggest cleaning out your current install of the add on and reinstalling it. Follow these steps:
That should do a completly clean install. Try that out with a brand new blank system defintion. Can you try these tests:
03-04-2011 10:47 AM
Well, it looks like the suggestion of going "clean slate" was good! Now at least we can deploy/undeploy as many times as we want without the communication with the RT target freezing and requiring for a reboot...
We tried the sequence you suggested:
Just 1 characteristic added first deploy
Ok, everything great: we can write and read the characteristic
Redeploy the same system definition as #1
Ditto.
Just 1 measurement added first deploy
Great: we can read the measurement, and graph it.
Redeploy the same system definition as #3
Here the bad news start... The usual error code, and we can no longer read the measurement or graph it.
1 Characteristic and 1 Measurement added
The same... From the previous step, CCP communication seems to have died.
Here attached is the log file...
Thank you very much for your support!
03-04-2011 02:20 PM
Hmm... I just set up a system with a PXI-8513 connected to a CCP slave, then deployed a sysdef with a single measurement in it. Worked great. I undeployed and redeployed several times and it always worked.
I'm wondering if your CCP slave has a specific requirement about a shutdown sequence or a problem disconnecting, as it seems to be specific to your slave.
Can you try reproducing the issue with just the labview example "" in the example finder? That example does pretty much what the custom device does.
Thanks,
03-07-2011 01:54 AM
Our CAN card is a NIX-8512 with the latest drivers.
Today we will try using a CAN analyzer to see what goes on the bus to check how the disconnect sequence is handled, and we can also try the labview example...