10-12-2011 01:13 AM
Dear Friends;
I can load play list with Window media player activex in LabVIEW 2009 but I don't know how to play them.
thank for help me.
Solved! Go to Solution.
10-13-2011 01:53 PM
Hey javadi_ali,
It seems that in one section of your code (For Loop before case structure) you're building an array of strings, for each of the songs in the playlist, and you're able to index the playlist using the Index Invoke Node. Have you considered using an Index Array function in combination with the index value for the song in the playlist to pull out the single item name? You could then use that item name string to build a path to the song and play it using the IWMPPLayer4 Property Node inside of a case structure.
10-13-2011 03:22 PM
It looks like it will work if you increase the timeout for the event structure. When I changed it from 10 ms to 100 ms, I did not get an error.
10-15-2011 03:42 AM
pardon me, I think my play list had wrong path files( I don't know why),anyway thsnk for your answer