LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Fanuc 1553 card problems

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

0 Kudos
Message 11 of 23
(2,066 Views)

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.

0 Kudos
Message 12 of 23
(1,998 Views)

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.

0 Kudos
Message 13 of 23
(1,984 Views)

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!

0 Kudos
Message 14 of 23
(1,970 Views)

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.

0 Kudos
Message 15 of 23
(1,825 Views)
Have you tried to send a message with the QuikView 1553 Application that comes with the GE Fanuc board? I would use this first to see if you have everything set up right, then use Labview to send a message. If the Quikview does not work you might have a 1553 connection problem. If it does work, the labview examples should work as well.
0 Kudos
Message 16 of 23
(1,800 Views)

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.

 

 

 

 

0 Kudos
Message 17 of 23
(1,790 Views)

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

 

0 Kudos
Message 18 of 23
(1,746 Views)

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.

0 Kudos
Message 19 of 23
(1,727 Views)
Thanks
0 Kudos
Message 20 of 23
(1,710 Views)