取消
显示结果 
搜索替代 
您的意思是: 

dsc

已解决!
转到解答

hello

 i am very new to labview .i have developed two projects-one as master and one as slave for communicating string data using shared variable but master is showing     some error.

I am not able to debug it and i am even not sure whether my block dig and connections are correct or not.i am attaching my projects here.

i would appreciate help from anyone

Thanku

 

下载全部
0 项奖励
1 条消息(共 7 条)
4,109 次查看

Can you reupload it in 2011 or 2012

File>Save for previous version

---

UnCertified LabVIEW Student
Mistakes are for learning, that's why suggestions are always welcome!
0 项奖励
2 条消息(共 7 条)
4,101 次查看

sure...

下载全部
0 项奖励
3 条消息(共 7 条)
4,089 次查看
解答
已被主题作者 mona1490 接受

"Some error" 

 

What is the error that you get?

 

Why don't you create a project that includes the shared variable library and deploy it from there?

0 项奖励
4 条消息(共 7 条)
4,077 次查看

i have created the library and deployed the shared variable manually. while running the program,master is showing error in opening connection to shared variable.

 

0 项奖励
5 条消息(共 7 条)
4,068 次查看

Can I use any shared variable for reading strings or is there a particular range of variables which can be used for string data type??

0 项奖励
6 条消息(共 7 条)
4,062 次查看

I don't understand your question or what you mean by "range of shared variables".

 

If you want the shared variable to be a string, then you set its datatype to be a string when you create it.

 

I think you are making this more complicated then you need to.  I'm not sure why you are using the shared variable library functions.

 

For what you have show so far, I think you only need a project that has your two VI's, a library that contains the shared variables you are creating, and in the VI's, use the shared variable terminals rather than these library functions.  You just drag and drop the shared variable from your library to the block diagram, then set it to either read or write.

0 项奖励
7 条消息(共 7 条)
4,033 次查看