From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
01-25-2016 06:26 AM
Hello Everyone,
I came across some strange problems on Friday:
First of all, my customer gave me a .dbc file which XNET did not properly recognize. It just listed a bunch of empty frames without names. Since the .dbc is under NDA I can't post it here, but I must say I was a bit disappointed since this means extra work for me.
I then tried writing a program which parses the .dbc file as a text file and builds the Database from the information therein. I got everything worked out pretty quickly, but something was off: The Signals, which I define in my program appeared to be out of bounds in the XNET Database editor (appearing with red crosses in the graphic). I then noticed that all the signals were set up as 32-Bit length, even though I told them otherwise. I attached a simplified version of my program with which I could reproduce the issue.
Can you reproduce it? What can I do to sort this out?
Needless to say, arranging everything by hand is the last thing I want to do since there are over 300 Signals.
Any comment or help is greatly appreciated.
01-26-2016 02:36 AM
Hi Peter,
this looks indeed ackward. I could reproduce that with XNET 15.0.
One way around that I found so far is to "accept" that the signals always have a initial length of 32 bit then save the file, reopen it and edit the length on the seconds try. That works fine. Nethertheless unnveriving behaviour.
To implement the workaround one would need a recursive algorithm to automatically open, create a signal, save, reopen, edit the signal, create the next one
I will write a CAR (bug report) for that.
Best regards,
Christoph
01-26-2016 03:32 AM
Hi Christoph,
I have contacted NI Support regarding this issue here in Germany. Thanks for your help, maybe we should link the requests. I'll PM you the SRQ#.
01-26-2016 07:10 AM
Hi Peter,
I take over the Service Request that has been created and we do the troubleshooting from there.
Best regards,
Christoph