Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

How to build/run 3DGraph sample

I've now spent several hours trying to get NI's ancient sample program 3DGraph.zip to build and run.  I don't have the obsolete components it appears to want, and I can't get past the error "Could not load file or assembly 'NationalInstruments.UI.WindowsForms, Version=7.1.0.306, Culture=neutral, PublicKeyToken=4544464cdeaab541' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference.".

Does anyone have any idea how to force this thing to work if all you have is current NI software, or is there (please!) some more current version of the demo program?  Thanks!

 

0 Kudos
Message 1 of 5
(2,634 Views)

Hi IDontKnowLV,

 

Where did you find the sample 3DGraph example? Also, what version of Visual Studio and Measurement Studio are you using to run the code?

Applications Engineering
National Instruments
0 Kudos
Message 2 of 5
(2,607 Views)

The sample is in the download section on this site as 3dgraph.zip.  I'm using VS 2017.

 

0 Kudos
Message 3 of 5
(2,603 Views)

Hi DontKnowLV,

 

Unfortunately there is not a more current version of the example code (however I will make a note of this as well as other outdated exampled) so that way more up to date examples will be available in the future. 

 

Are you able to find the 3D Graph in the toolbox? If so, are you able to place it down? I'd recommend following the documents linked below for some info on getting running with the 3D Graphs in Measurement Studio:

 

How to Use 3D Graph Control(Active X) in Measurement Studio?

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000YHnSCAW&l=en-US

 

Custom Color Map for CWGraph3D from .NET (C#)

https://forums.ni.com/t5/Example-Program-Drafts/Custom-Color-Map-for-CWGraph3D-from-NET-C/ta-p/35014...

Applications Engineering
National Instruments
0 Kudos
Message 4 of 5
(2,582 Views)

@SaileshK wrote:

Hi DontKnowLV,

 

Unfortunately there is not a more current version of the example code (however I will make a note of this as well as other outdated exampled) so that way more up to date examples will be available in the future. 

 

Are you able to find the 3D Graph in the toolbox? If so, are you able to place it down? I'd recommend following the documents linked below for some info on getting running with the 3D Graphs in Measurement Studio:

 

 


Thanks for the reply.  I'm on VS 2017, so of course there were some issues with Measurement Studio, but I was eventually able to get the controls into the toolbox.  I haven't yet tried to place a 3D graph on a blank form; I was hoping to study the example first.  I'll take a look at those other links.

0 Kudos
Message 5 of 5
(2,580 Views)