05-11-2009 12:54 PM
I do not use the real-time os, I prefer to use FPGA's for time critical things. I setup the 1553 card using repetitive trigger and all bus messages ahead of test, and use the FPGA to trigger the card to execute each message in order during test.
Josh
07-29-2009 06:34 AM
I am using the Fancu 1553 cPCI card with the PXI Labview Real-Time OS. And I have LV-1553 which doesn't have any problem to control 1553 card.
But now I need to control 1553 card using CVI real time. After calling BusTools_API_InitExtended API, it always return 202 API_BUSTOOLS_NOTINITED.
If anyone has an information or any example code, I'd appreciate it. |
07-29-2009 07:19 AM
VincentY,
I've not worked with the QCP-1553 in CVI, could you post at least the snipped of code where your calling the BusAPI_Init_Extended function? The LV-1553 API is merely a set of wrappers around the C code, so the parameters should be the same or roughly equivalent.
Without seeing the code, I'm wondering if you forgot to close the open resource. For example, if you were running some code on the card in LabVIEW and forgot to include the BusTools_Close_API at the end AND left your chassis on, it's possible you still have an open resource handle to the card the the RTOS thinks it's still being used.
Let me know, I have some decent experience with this card and API under LabVIEW, but I haven't explored it with CVI yet.
07-29-2009 08:46 PM
Hi nowellj
My code is very simple.
1. call BusTools_API_InitExtended to initialize cPCI 1553
2. call BusTools_GetRevision to get version
3. call BusTools_API_Close to close
I've tried the above code using CVI in window XP, and it works.
I also have tried to use labview to warp the above code, and it works in labview real time OS 8.6.1 too.
But I can't use the code written by CVI real time module to run in labview real time OS.
Everytime I run any examples, I always reboot PXI.
So the problem of open resource should not exist.
Any idea??
Thanks!
06-11-2010 06:50 AM
Hello jakidd'
Its realy great to hear, You have used GE Fanuc QCP-1553 with LabView successfully.I am also using QCP 1553 for my application.in my application i required to send a pulse at every 32 ms and coresponding to that pulse RT will write data to a particular subaddress.then i am going to read the data.i have tried with example programmed given by GE.Still i am not able to communicate with the RT.I am not able to figure out whether it's a hardware or software configuration probelm.Can you give me some working code for this .
thanks in advance.
I will appreciate everyone ,going to help me in this regard. Thank you ALL.
06-11-2010 09:24 AM
06-13-2010 11:38 PM
Good morning jakidd
I hvn't try for QuickView,I tried directly with labView.But i will try this QuickView and get back to you.Thanks for your reply.
06-24-2010 11:28 PM
Good Morning Jakidd
Need your help once again.I m reading the data from the 3 diffrent RT at evrery 32 ms .So what function should i use to meet the timing requirement with no data loss .I need set of 1000 data to avg and display,I am using windows platform.
Thanks
06-25-2010 10:24 AM
I'm probably not the best person to answer your question. Send a email to avionics-support@gefanuc.com
they are pretty good about responding to questions regarding their 1553 cards.
06-26-2010 06:56 AM