Search found 20 matches

by oleg_osov
Mon Oct 31, 2016 11:36 am
Forum: NetBurner Hardware
Topic: Head files of ISaGRAF software
Replies: 8
Views: 7724

Re: Head files of ISaGRAF software

Yes, My question is noly about header files. —— I transform the ISaGRAF programmes into C codes, then do some testing under C compiler, so the header files are necessary. And is this way feasible? No, it won't work for you. You absolutely need to have the ISaGRAF run-time itself. Because your progr...
by oleg_osov
Thu Oct 27, 2016 8:48 am
Forum: NetBurner Hardware
Topic: Head files of ISaGRAF software
Replies: 8
Views: 7724

Re: Head files of ISaGRAF software

I am work in a university (southwest jiaotong university). As the interesting, I do a testing for the ISaGRAF project under C environment, so the head files are necessary. But I cannot afford to buy ISaGRAF PRDK. The version 6. coundn't be downloaded for ISaGRAF.com. And can I find the files from v...
by oleg_osov
Wed Oct 26, 2016 8:52 am
Forum: NetBurner Hardware
Topic: Head files of ISaGRAF software
Replies: 8
Views: 7724

Re: Head files of ISaGRAF software

Yes, I downloaded the version 5 from ISaGRAF.com, so I have no PRDK. And do you have these files? can you give me a help? You have to buy ISaGRAF PRDK version 5.14 or later. There is provided NetBurner target (run-time) in the Samples directory. So you downloaded a demo version of ISaGRAF Workbench...
by oleg_osov
Tue Oct 25, 2016 6:39 am
Forum: NetBurner Hardware
Topic: Head files of ISaGRAF software
Replies: 8
Views: 7724

Re: Head files of ISaGRAF software

Hello! Which exactly ISaGRAF version do you have? I am using the ISaGRAF software for some simulation testing, but I found the platform did not provide these head files as follows. But I get no reply from IAsGRAF company. How can I get these head files? Thanks for your help. Best regards. #include <...
by oleg_osov
Wed Mar 23, 2011 2:18 pm
Forum: NetBurner Software
Topic: Trap Error, Cannot Enter Monitor
Replies: 6
Views: 5791

Re: Trap Error, Cannot Enter Monitor

Hi everyone! I just want to add a notice to a previous post. It would be useful for those who have no serial port. If one has no serial port it almost impossible to unplug USB cable, plug it again, connect Mttty and catch the very first boot. I have NO serial port on my home laptop, so I managed to ...
by oleg_osov
Mon Mar 14, 2011 1:40 pm
Forum: NetBurner Software
Topic: Using the CAN bus
Replies: 22
Views: 13498

Re: Using the CAN bus

Hi, Larry! You are completely right! When I try to read CAN messages from an ISR function I get a critical trap. So, I found a solution - I set a flag from an timer ISR function, and from another normal function I read and write messages if I see this flag, and then I switch off this flag. It's not ...
by oleg_osov
Fri Mar 11, 2011 3:33 pm
Forum: NetBurner Software
Topic: Using the CAN bus
Replies: 22
Views: 13498

Re: Using the CAN bus

I think the problem is how you handle the RTR responses. So the first step is to send a message as an RTR which you are doing correctly with CanRxMessage. Thank you, Larry, for your answer. The code you worry about is commented, and actually it is never ever been uncommented. It's just an idea how ...
by oleg_osov
Fri Mar 11, 2011 4:36 am
Forum: NetBurner Software
Topic: Using the CAN bus
Replies: 22
Views: 13498

Re: Using the CAN bus

Hello. I have to implement a master, which has a single message processing queue, but it has to request messages with RTR. A slave board doesn't give me a response on a RTR message. Could someone give me a clue where am I wrong? A want to receive ALL messages from the bus. Initialisation of the CAN ...
by oleg_osov
Tue Mar 08, 2011 11:00 pm
Forum: NetBurner Software
Topic: Using the CAN bus
Replies: 22
Views: 13498

Re: Using the CAN bus

The ID parameter of RegisterCanRxFifo is the CAN ID of that receiving channel. Since there are 16 channels, you can have that many unique receiving addresses. It seens that your state is wrong. 3.5.6. RegisterCanRxFifo Synopsis: int RegisterCanRxFifo( DWORD id, OS_FIFO * pFifo, int channel=-1 ); De...
by oleg_osov
Tue Mar 08, 2011 1:07 pm
Forum: NetBurner Software
Topic: Using the CAN bus
Replies: 22
Views: 13498

Re: Using the CAN bus

The RTR functionality is built into the hardware of the CAN peripheral. Since you want to serve RTR messages you should use the function: int SetRTRMessage( DWORD id, BYTE *data, BYTE len, int channel = -1 ); This will set up an RTR channel. It will receive RTR requests and automatically reply with...