LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Call dll (a simple gui for user) from c#

Hi at All,

 

i'm trying to modify you Setparameter VI and Dialog VI adding only one double parameter.....but when I start the C# project it doesn't works....

 

and the error said me "" BadImageFormatException"....I don't understand what I'm wronging??

 

Thank you

0 Kudos
Message 11 of 14
(1,386 Views)

Hi,

I am trying to make same. i am coding c# but i am not familiar with labview.i used this one first:

http://zone.ni.com/devzone/cda/epd/p/id/3838

 

it worked but i could not make it work for my fsk sample. this sample gets only 2 variables.

 

 

 

 

Then i saw this link:

http://zone.ni.com/devzone/cda/epd/p/id/4338#0requirements

and sample in this topic

 

When i try to use these i, get same error for both

 

 

I searced but i could not find solution. These are i tried according to my search:

 

- Installed again

- I tried in other PC

- Check windows and program both are 32 bit

- Make updates

 

Also find this but there is not option like they wrote in installation:

http://digital.ni.com/public.nsf/allkb/EDC260CE918A990E86257543007BCDD3

 

and i installed these:

LabVIEW 2011

LabVIEW for ARM 2011

NI LabVIEW Modulation Toolkit

LabVIEW Run-Time Engine 2012 ( http://joule.ni.com/nidu/cds/view/p/id/3433/lang/en )

 

i have to make this work in few days any help is appreciated. 

 

0 Kudos
Message 12 of 14
(1,318 Views)

i installed labview 8.5 with all components it worked but my niUSRP EX FSK Tx.vi sample is for newer version.

Any tips i can do with labview 2011 do i have to install any component?

 

And there is no info about from where this code gets dialog.vi i tried no open dll file but i could not find any info i also searched folder there is no dialog.vi file.

0 Kudos
Message 13 of 14
(1,303 Views)

hi your example i great and it works fine on my pc however i am trying to do something simmilar, i am creating a labview project simmilar to yours, then making a dll from it but when i try to call it from c# i get the error saying no entry point was found on dll, can you email me some more detailed information on this? 

I appreciate your time 

0 Kudos
Message 14 of 14
(1,169 Views)