11-30-2012 09:30 AM
Hi ShalimarA,
Yes, I did that. I removed them all, and then added one at a time, running the project each time after I added a channel. It made no difference, they still logged to file in the wrong order.
Regards,
Bandit.
11-30-2012 09:32 AM
I thought so, I just thought it would be good to cover all eventualities!
I'm looking into this right now, trying to replicate the problem. The project you've sent me doesn't have triggers, was this something you removed?
11-30-2012 09:36 AM
No software triggers? Pah. I may have uploaded the wrong thing then.
I'll look into it on Monday, see if I can send you the correct file. Right now I'm afraid I have to leave, it's the end of the working day here and I have comitments that prevent me from staying late tonight.
Thanks for your help so far, have a great weekend.
Regards,
Bandit
11-30-2012 09:36 AM
I'm beginning to wonder if this is something specific to your version of SignalExpress as I'm running the 2012 version and can't seem to replicate the issue, everything is coming out fine. I'm going to be trying it on version 3 now.
11-30-2012 09:38 AM
Have a good weekend!
12-03-2012 05:01 AM
Hi ShalimarA.
This morning I have checked the project example I uploaded last week. The start and stop conditions for logging are definatly set up for software trigger A. This is shown under the recording options tab, under the start conditions and stop conditions catagories respectively.
I have also tried running the project under Signal Express 2011 (I don't have a 2012 installation at this time). The log was created but again the channels were logged out of order.
Hope this helps.
Regards.
Bandit.
12-05-2012 05:06 AM
Hi,
So sorry for the delay, I've been out of office recently.
I've realised that we hadn't isolated something relatively important. As the data comes out fine for me, you'll need to confirm. Is it that the data as well as the channel names swapped around? Or just the channel names?
I ask because if it's just the channel names that are swapped around, for example channel a01 has the data associated with ao0 if it's listed first in the log list, then that could indicate something being wrong in signal express.
If it's that the channels and their associated data are in the wrong order, this could signify some sort of data corruption.
12-05-2012 05:39 AM
Hi ShalimarA,
We did cover this already, in message 4...
"I acquire and process channels in the order AI1, AI2, AI4, but the columns in the log file are ordered AI2, AI1, AI4.
Column headers are correct with respect to the data below them, it's just that the columns are not ordered as expected. "
To clarify that further, with channels generally held at 0v if I apply 5v to individual channels in turn I get a log that looks something like this...
AI2 AI1 AI4
0V 5V 0V
AI2 AI1 AI4
5V 0V 0V
AI2 AI1 AI4
0V 0V 5V
I hope this helps, if it's still not clear please let me know.
Regards,
Bandit.
12-05-2012 06:01 AM
Sorry about that, but thanks for explaining.
I've just tried running the code and adding an extra step that saves to an ASCII/LVM file. This worked and put the data into ordered columns. Do you want to give this a try and seeing what it does for you? This would be getting rid of the in built logging function that you're currently using and executing it otherwise. (See attached image and log file)
12-05-2012 06:06 AM
But how does this log a single data set on command? It looks to me like it logs all the data captured, not just the particular user selected moment of interest.
Regards,
Bandit.