Hi all,
PV780 and PVCS 2.8.10546
The flow is: Request for pgn 126996. Receive pgn depending on source address and put received information in four strings.
So, sending out a request is no problem but I can´t figure out how to receive the pgn. Tried Free form data messages but I can´t get anything. I suspect it has to do with the filters that I don´t know how they work. Searched the forum and also looked in the manual but it´s not clear to me. An example would be nice. Pgn is NMEA fast packet 134 bytes of data.
Filter on source address can also be a challenge from what I have read. This will be a problem for later.
This is what I would Think work, but it´s not. Any suggestions?
Receive NMEA2000 pgn 126996
- JoakimMD
- Posts: 20
- Joined: Fri Oct 22, 2010 9:17 am
Receive NMEA2000 pgn 126996
- Attachments
-
- FFD.png (29.84 KiB) Viewed 126 times
- JoakimMD
- Posts: 20
- Joined: Fri Oct 22, 2010 9:17 am
Re: Receive NMEA2000 pgn 126996
This section in the core reference manual is unclear. It says, for example that 3 is the third byte. Then you would expect to be able to define that the data end byte to be 8, but it will automatically change to 7.
Do you start countning from 0 or 1?
Do you start countning from 0 or 1?
- Attachments
-
- Manual.png (91.4 KiB) Viewed 125 times
- boyce
- Enovation Controls Development
- Posts: 322
- Joined: Wed Sep 08, 2010 5:09 pm
Re: Receive NMEA2000 pgn 126996
I've included a configuration that I received from one of the developers. It's not the NMEA product information PGN but it is similar. I think the main thing to notice is that the PGN field and the Mask includes the space for the source address, really the entire CAN ID. But the Mask is used to select the PGN. The example configuration did not use the Packet Definition fields, she said you didn't need to.
There is a script that shows receiving the message and picking the data out of the SoftwareId reserved string.
I think the main issue is knowing how to define the PGN and Mask fields for the Free Form Data Message.
There is a script that shows receiving the message and picking the data out of the SoftwareId reserved string.
I think the main issue is knowing how to define the PGN and Mask fields for the Free Form Data Message.
Boyce Schrack
Enovation Controls
Enovation Controls
- JoakimMD
- Posts: 20
- Joined: Fri Oct 22, 2010 9:17 am
Re: Receive NMEA2000 pgn 126996
Boyce,
Thanks for your answer. I have had alot of other projects ongoing but I will test this now. I can´t type that many characters in PGN and mask field. Using PVCS 2.8 and I think I will need to upgrade to latest 2.9.
Will get back to you if I run into more problems.
/Joakim
Thanks for your answer. I have had alot of other projects ongoing but I will test this now. I can´t type that many characters in PGN and mask field. Using PVCS 2.8 and I think I will need to upgrade to latest 2.9.
Will get back to you if I run into more problems.
/Joakim