LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Type error in argument 2 to `LoadPanel'; found 'pointer to char' expected 'int'.

Hola me llamo marco  y estoy comenzando a conocer labwindows 9.0 pero almomento de complilar tengo un error  en elcual no lo se reparar y me gustaria si alguien me puede orientar

cuando quiero compliar queda  en ese punto

 

t t;
    double ti2;
    double pl2;
    int bbbb;
    double y;
    double pl1resp;
    int jj;
    double tf2;
    int w;
    int r;
    b = 0x3f8;
    OpenComConfig (1, 19200L, 0, 8, 1, 256, 25, b, 0);
    SetCTSMode (1, 0);
    SetComTime (1, 0.1099999994039536);


                        P1 = LoadPanel (0, "panel.uir");


    DisplayPanel (P1);
 
 
    ini = 0;
    n = 1;
   

 

 Type error in argument 2 to `LoadPanel'; found 'pointer to char' expected 'int'.

 

muchas gracias a quien me pueda ayudar  y de ante mano muchas gracias

0 Kudos
Message 1 of 4
(3,922 Views)

Where is the function 'LoadPanel' defined.

I looked through cargas.c and didnt find where it was defined.

 

What is the pointer? The "0" or the "panel.uir"?
Just put a * in front of the pointer to get the pointer's value rather than simply the pointer itself

Cory K
0 Kudos
Message 2 of 4
(3,906 Views)

Post your question to the LabWindows/CVI board. This is the LabVIEW board.

0 Kudos
Message 3 of 4
(3,902 Views)

Oh, I thought that was C, I haven't worked with LabWindows before, I didn't realize it was a C based language.

LoadPanel must be a native function in LabWindows.

Cory K
0 Kudos
Message 4 of 4
(3,893 Views)